package cn.net.vote.data;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableScheduling
@EnableAsync
@EnableCaching
@EnableTransactionManagement
@ServletComponentScan
@EnableSwagger2
public class VoteDataServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(VoteDataServiceApplication.class, args);
	}
}
